<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
<h2>JavaScript ISO 日期</h2>

<p>用大写字母 T 分隔日期和时间。</p>

<p>用大写字母 Z 标识 UTC 时间。</p>

<p id="demo"></p>

<script>
    var d = new Date("2019-05-02T12:00:00Z");
    document.getElementById("demo").innerHTML = d;
</script>

</body>
</html>